From: Florian Müllner Date: Sat, 23 Jul 2022 15:04:57 +0000 (+0200) Subject: popupMenu: Append ornament in image menu items X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~461^2^2~232 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7647e5590a78c95d6aac3ca4283621f1d2841d9c;p=gnome-shell.git popupMenu: Append ornament in image menu items Having both image and ornament in front of the label looks odd. Keep the image where it is, and move the ornament to the end. Part-of: --- diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 6c5549d35..c7e66a5cc 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -468,6 +468,8 @@ class PopupImageMenuItem extends PopupBaseMenuItem { this.add_child(this.label); this.label_actor = this.label; + this.set_child_above_sibling(this._ornamentLabel, this.label); + this.setIcon(icon); }